spec/seymour/dummy/test_activity_spec.rb in seymour-0.0.8 vs spec/seymour/dummy/test_activity_spec.rb in seymour-0.0.9
- old
+ new
@@ -1,10 +1,10 @@
require 'spec_helper'
describe "TestActivity" do
describe "TestActivity in dummy app" do
- let(:activity) { Factory(:test_activity) }
+ let(:activity) { FactoryGirl.create(:test_activity) }
let(:user) { activity.actor }
describe "render_html" do
it "should render activity html" do
activity.render_html.should == "<p>Bob tested an activity</p>"