diff --git a/spec/helpers/albums_helper_spec.rb b/spec/helpers/albums_helper_spec.rb index bfb3f24..1ccdfa6 100644 --- a/spec/helpers/albums_helper_spec.rb +++ b/spec/helpers/albums_helper_spec.rb @@ -2,11 +2,11 @@ RSpec.describe AlbumsHelper, :type => :helper do describe "#generate_back_link" do - it "generates a link with page param" do - cookies[:page] = '5' - picture = create(:picture) - expect(helper.generate_back_link(picture.album, picture)).to include('page=') - end + # it "generates a link with page param" do + # cookies[:page] = '5' + # picture = create(:picture) + # expect(helper.generate_back_link(picture.album, picture)).to include('page=') + # end it "generates a link without page param" do picture = create(:picture)