Skip to content

Commit

Permalink
PR spree#7444 introduced some minor specs glitches removed here
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec committed Jul 15, 2016
1 parent ad35628 commit c738202
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions api/spec/controllers/spree/api/v1/tags_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ module Spree

it "retrieves a list of tags" do
api_get :index
p json_response
expect(json_response["tags"].first).to have_attributes(base_attributes)
expect(json_response["total_count"]).to eq(1)
expect(json_response["current_page"]).to eq(1)
Expand Down Expand Up @@ -62,7 +61,6 @@ module Spree

context "pagination" do
it "can select the next page of tags" do
second_tag = create(:tag)
api_get :index, page: 2, per_page: 1
expect(json_response["tags"].first).to have_attributes(base_attributes)
expect(json_response["total_count"]).to eq(2)
Expand Down

0 comments on commit c738202

Please sign in to comment.