Skip to content

Commit

Permalink
ruby 1.8.7 style hash-rockets for shared integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
databyte committed Apr 26, 2012
1 parent 98f7406 commit 84a31a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/posts_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

context "for index action" do
setup do
get "/posts", format: :json
get "/posts", :format => :json
end

# Attributes (regular)
Expand Down Expand Up @@ -74,7 +74,7 @@

context "for show action" do
setup do
get "/posts/#{@post1.id}", format: :json
get "/posts/#{@post1.id}", :format => :json
json_output['post']
end

Expand Down

0 comments on commit 84a31a6

Please sign in to comment.