Skip to content

Commit

Permalink
use '#!' in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Aug 10, 2019
1 parent 7015fc4 commit 00359e7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/features/index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

context 'in rw mode' do
before do
visit '/?rw/#/'
visit '/?rw/#!/'
end

it 'shows the button to take a picture' do
Expand Down
2 changes: 1 addition & 1 deletion spec/features/picture_set_email_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

context 'sending email' do
before do
visit '/#/picture_set/00example/email'
visit '/#!/picture_set/00example/email'
end

it 'sends mail to entered address' do
Expand Down
4 changes: 2 additions & 2 deletions spec/features/picture_set_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
context 'unavailable set' do

before do
visit '/?rw/#/picture_set/2018-04-10_11-22-3/'
visit '/?rw/#!/picture_set/2018-04-10_11-22-3/'
end

it 'shows error' do
Expand All @@ -29,7 +29,7 @@
context 'delete set' do

before do
visit '/?rw/#/picture_set/00example'
visit '/?rw/#!/picture_set/00example'
end

it 'shows error' do
Expand Down
2 changes: 1 addition & 1 deletion spec/features/take_a_picture_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
feature 'Photobox take picture', js: true do

before do
visit '/?rw/#/'
visit '/?rw/#!/'
end

it 'shows countdown modal' do
Expand Down

0 comments on commit 00359e7

Please sign in to comment.