test/integration/navigation_test.rb in ember-appkit-rails-0.1.2 vs test/integration/navigation_test.rb in ember-appkit-rails-0.2.0

- old
+ new

@@ -1,9 +1,17 @@ require 'test_helper' class NavigationTest < ActionDispatch::IntegrationTest - test 'can render home page' do - visit root_path - assert page.has_text? 'Joe Doe' + include IntegrationTestSupport + + test 'can render default landing page' do + visit '/' + assert page.has_text? "That was easy, wasn't it?" + end + + test 'can using simple "ember magic"' do + visit '/' + fill_in 'sampleInput', with: 'EMBER ROCKS!' + assert page.has_text? "EMBER ROCKS!" end end