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