Sha256: 4d09e8e232576767e8c0596a6a6ea92bf3492e170b31c33622faf9793c8245b9

Contents?: true

Size: 363 Bytes

Versions: 13

Compression:

Stored size: 363 Bytes

Contents

describe "scaffold index" do
  before do
    5.times do |index|
      Task.create(title: "Task #{index}")
    end
    App.delegate.open_screen 'tasks#index'
    @controller = App.delegate.content_controller.childViewControllers.last
  end
  it "should render tasks list" do
    wait 0.3 do
      @controller.has_content?("Task 2").should.be.true
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
motion-prime-1.0.7 spec/features/scaffold/index.rb
motion-prime-1.0.6 spec/features/scaffold/index.rb
motion-prime-1.0.5 spec/features/scaffold/index.rb
motion-prime-1.0.4 spec/features/scaffold/index.rb
motion-prime-1.0.3 spec/features/scaffold/index.rb
motion-prime-1.0.2 spec/features/scaffold/index.rb
motion-prime-1.0.1 spec/features/scaffold/index.rb
motion-prime-1.0.0 spec/features/scaffold/index.rb
motion-prime-0.9.9.2 spec/features/scaffold/index.rb
motion-prime-0.9.9.1 spec/features/scaffold/index.rb
motion-prime-0.9.9 spec/features/scaffold/index.rb
motion-prime-0.9.8 spec/features/scaffold/index.rb
motion-prime-0.9.7 spec/features/scaffold/index.rb