We mock everything else as well, to solve it we need to actually login as an admin user. I agree what you're saying of course. Let's think on how to solve this.

> On 06 Jan 2014, at 22:49, Ryan Bigg <notifications@github.com> wrote:
> 
> In backend/spec/spec_helper.rb:
> 
> > @@ -89,4 +89,8 @@
> >    config.include Paperclip::Shoulda::Matchers
> >  
> >    config.fail_fast = ENV['FAIL_FAST'] || false
> > +
> > +  config.before do
> > +    Spree::Api::Config[:requires_authentication] = false
> If the default is true, then what happens when a piece of the backend fails for somebody and the tests don't pick that up? I don't think that we should be having a different default for our tests. The tests should work with the normal default (true)
> 
> —
> Reply to this email directly or view it on GitHub.