Skip to content

Commit 6366131

Browse files
author
Premysl Donat
committed
Fix tests
1 parent 3e82eaa commit 6366131

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/grape_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@
106106
end
107107

108108
it 'returns links with with same received parameters' do
109-
expect(links).to include('<http://example.org/numbers?count=100&page=10&state%5B%5D=new&state%5B%5D=active>; rel="last"')
110-
expect(links).to include('<http://example.org/numbers?count=100&page=2&state%5B%5D=new&state%5B%5D=active>; rel="next"')
109+
expect(links).to include('<http://example.org/numbers?count=100&page=10&parity%5B%5D=odd&parity%5B%5D=even>; rel="last"')
110+
expect(links).to include('<http://example.org/numbers?count=100&page=2&parity%5B%5D=odd&parity%5B%5D=even>; rel="next"')
111111
end
112112
end
113113
end

0 commit comments

Comments
 (0)