diff --git a/spec/controllers/aspects_controller_spec.rb b/spec/controllers/aspects_controller_spec.rb index a3ad7a830..3b4577076 100644 --- a/spec/controllers/aspects_controller_spec.rb +++ b/spec/controllers/aspects_controller_spec.rb @@ -48,24 +48,24 @@ describe AspectsController do end describe "#index" do - it "generates a jasmine fixture" do + it "generates a jasmine fixture", :fixture => 'jasmine' do get :index save_fixture(html_for("body"), "aspects_index") end - it "generates a jasmine fixture with a prefill" do + it "generates a jasmine fixture with a prefill", :fixture => 'jasmine' do get :index, :prefill => "reshare things" save_fixture(html_for("body"), "aspects_index_prefill") end - it 'generates a jasmine fixture with services' do + it 'generates a jasmine fixture with services', :fixture => 'jasmine' do @alice.services << Services::Facebook.create(:user_id => @alice.id) @alice.services << Services::Twitter.create(:user_id => @alice.id) get :index, :prefill => "reshare things" save_fixture(html_for("body"), "aspects_index_services") end - it 'generates a jasmine fixture with posts' do + it 'generates a jasmine fixture with posts', :fixture => 'jasmine' do @alice.post(:status_message, :text => "hello", :to => @alices_aspect_2.id) get :index save_fixture(html_for("body"), "aspects_index_with_posts") @@ -302,7 +302,7 @@ describe AspectsController do assigns(:remote_requests).count.should == 1 end - it "generates a jasmine fixture" do + it "generates a jasmine fixture", :fixture => 'jasmine' do get :manage save_fixture(html_for("body"), "aspects_manage") end @@ -380,4 +380,4 @@ describe AspectsController do @alices_aspect_1.reload.contacts_visible.should be_false end end -end \ No newline at end of file +end diff --git a/spec/controllers/publics_controller_spec.rb b/spec/controllers/publics_controller_spec.rb index 53aae6331..004fa2982 100644 --- a/spec/controllers/publics_controller_spec.rb +++ b/spec/controllers/publics_controller_spec.rb @@ -12,7 +12,7 @@ describe PublicsController do end describe '#host_meta' do - it 'succeeds' do + it 'succeeds', :fixture => :rspec do get :host_meta response.should be_success response.body.should =~ /webfinger/ @@ -62,7 +62,7 @@ describe PublicsController do end describe '#hcard' do - it "succeeds" do + it "succeeds", :fixture => :rspec do post :hcard, "guid" => @user.person.guid.to_s response.should be_success save_fixture(response.body, "hcard", fixture_path) @@ -81,7 +81,7 @@ describe PublicsController do end describe '#webfinger' do - it "succeeds when the person and user exist locally" do + it "succeeds when the person and user exist locally", :fixture => :rspec do post :webfinger, 'q' => @user.person.diaspora_handle response.should be_success save_fixture(response.body, "webfinger", fixture_path) @@ -111,4 +111,4 @@ describe PublicsController do response.should be_success end end -end \ No newline at end of file +end diff --git a/spec/controllers/status_messages_controller_spec.rb b/spec/controllers/status_messages_controller_spec.rb index e39c38ce2..ceaafc437 100644 --- a/spec/controllers/status_messages_controller_spec.rb +++ b/spec/controllers/status_messages_controller_spec.rb @@ -29,7 +29,7 @@ describe StatusMessagesController do response.should be_success end - it 'generates a jasmine fixture' do + it 'generates a jasmine fixture', :fixture => 'jasmine' do contact = alice.contact_for(bob.person) aspect = alice.aspects.create(:name => 'people') contact.aspects << aspect