Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxwell Salzberg <maxwell@joindiaspora.com>2012-05-17 03:23:14 +0400
committerMaxwell Salzberg <maxwell@joindiaspora.com>2012-05-17 04:17:14 +0400
commitc52342b7cb38d25a0f4cb42b5b947d98569eaa37 (patch)
tree8f5390259892a778c7792e98c3e076d2ab5fc336 /spec/integration/activity_streams
parent455dc34eaead78d98e46da43266e942000d28eee (diff)
update factory girl
Diffstat (limited to 'spec/integration/activity_streams')
-rw-r--r--spec/integration/activity_streams/photos_controller_spec.rb2
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