diff options
author | Maxwell Salzberg <maxwell@joindiaspora.com> | 2012-05-17 03:23:14 +0400 |
---|---|---|
committer | Maxwell Salzberg <maxwell@joindiaspora.com> | 2012-05-17 04:17:14 +0400 |
commit | c52342b7cb38d25a0f4cb42b5b947d98569eaa37 (patch) | |
tree | 8f5390259892a778c7792e98c3e076d2ab5fc336 /spec/integration/activity_streams | |
parent | 455dc34eaead78d98e46da43266e942000d28eee (diff) |
update factory girl
Diffstat (limited to 'spec/integration/activity_streams')
-rw-r--r-- | spec/integration/activity_streams/photos_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/activity_streams/photos_controller_spec.rb b/spec/integration/activity_streams/photos_controller_spec.rb index e95a3ae4e..6af9aaa72 100644 --- a/spec/integration/activity_streams/photos_controller_spec.rb +++ b/spec/integration/activity_streams/photos_controller_spec.rb @@ -33,7 +33,7 @@ JSON @url = activity_streams_photos_path end it 'allows oauth authentication' do - token = Factory(:oauth_access_token) + token = FactoryGirl.create(:oauth_access_token) post @url, @json.merge!(:oauth_token => token.access_token) response.should be_success end |