spec/services/landable/authentication_service_spec.rb in landable-1.13.2 vs spec/services/landable/authentication_service_spec.rb in landable-1.14.0
- old
+ new
@@ -2,10 +2,10 @@
describe Landable::AuthenticationService do
let(:simple_auth) do
proc do |username, password|
if username == 'simple' && password == 'authenticator'
- { username: 'simple', email: 'simple@example.com', first_name: 'Simple', last_name: 'Ton' }
+ { username: 'simple', email: 'simple@example.com', first_name: 'Simple', last_name: 'Ton', groups: ['CreditMe Read-only', 'QuickQuid Editor', 'Netcredit Publisher'] }
end
end
end
let(:echo_auth) do