summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2013-07-19 11:47:59 -0600
committermo khan <mo@mokhan.ca>2013-07-19 11:47:59 -0600
commit8c3a0d5c1fb9db189ed9ce018ec3fbcd494dc06c (patch)
treeadc9862e7fef7e42ba2ee0b7b56c8ad2afd4ae16 /spec
parente2566358593796c40e2ae495549e063da4030728 (diff)
add js: test as example to get running on the ci box
Diffstat (limited to 'spec')
-rw-r--r--spec/features/home_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/home_spec.rb b/spec/features/home_spec.rb
index 7d1710b..ba62242 100644
--- a/spec/features/home_spec.rb
+++ b/spec/features/home_spec.rb
@@ -5,4 +5,9 @@ describe "home" do
visit '/'
expect(page).to have_content "Hello Ruby Universe!"
end
+
+ it "should also work with the js test driver", js: true do
+ visit '/'
+ expect(page).to have_content "Hello Ruby Universe!"
+ end
end