Commit 012a034e2364841f409efd81d353f1f2027edad9

Authored by Arthur Neves
1 parent 561dd4d7
Exists in master and in 1 other branch production

Small refactor on test file [skip ci]

Showing 1 changed file with 0 additions and 3 deletions   Show diff stats
spec/requests/notices_controller_spec.rb
@@ -45,7 +45,6 @@ describe "Notices management" do @@ -45,7 +45,6 @@ describe "Notices management" do
45 45
46 end 46 end
47 47
48 - # the JS notifier allows for both GET and POST requests  
49 context "with GET request" do 48 context "with GET request" do
50 let(:xml) { Rails.root.join('spec','fixtures','hoptoad_test_notice.xml').read } 49 let(:xml) { Rails.root.join('spec','fixtures','hoptoad_test_notice.xml').read }
51 it 'save a new notice' do 50 it 'save a new notice' do
@@ -57,7 +56,5 @@ describe "Notices management" do @@ -57,7 +56,5 @@ describe "Notices management" do
57 }.by(1) 56 }.by(1)
58 end 57 end
59 end 58 end
60 -  
61 end 59 end
62 -  
63 end 60 end