diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-19 11:47:59 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-19 11:47:59 -0600 |
| commit | 8c3a0d5c1fb9db189ed9ce018ec3fbcd494dc06c (patch) | |
| tree | adc9862e7fef7e42ba2ee0b7b56c8ad2afd4ae16 /spec | |
| parent | e2566358593796c40e2ae495549e063da4030728 (diff) | |
add js: test as example to get running on the ci box
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/features/home_spec.rb | 5 |
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 |
