./spec/controllers/admin/seo_controller_spec.rb:7:in `block (2 levels) in'
5
6 before(:each) do
7 Factory(:blog)
8 #TODO Delete after removing fixtures
9 Profile.delete_all
10# gem install syntax to get syntax highlighting
./spec/controllers/setup_controller_spec.rb:62:in `block (4 levels) in'
60 describe 'GET setup' do
61 before do
62 Factory(:blog)
63 get 'index'
64 end
65# gem install syntax to get syntax highlighting
./spec/controllers/setup_controller_spec.rb:71:in `block (4 levels) in'
69 describe 'POST setup' do
70 before do
71 Factory(:blog)
72 post 'index', {:setting => {:blog_name => 'Foo', :email =><EMAIL_ADDRESS>73 end
74# gem install syntax to get syntax highlighting
./spec/controllers/setup_controller_spec.rb:71:in `block (4 levels) in'
69 describe 'POST setup' do
70 before do
71 Factory(:blog)
72 post 'index', {:setting => {:blog_name => 'Foo', :email =><EMAIL_ADDRESS>73 end
74# gem install syntax to get syntax highlighting
./spec/controllers/grouping_controller_spec.rb:7:in `block (3 levels) in'
5 describe "should set meta robots to noindex follow when" do
6 it "tag controller and unindex_tags options is true" do
7 Factory(:blog, :unindex_tags => true)
8 controller.should_receive(:grouping_class).and_return(Tag)
9 controller.send(:set_noindex).should be_true
10# gem install syntax to get syntax highlighting
./spec/controllers/grouping_controller_spec.rb:12:in `block (3 levels) in'
10 end
11 it "category controller and unindex_categories optinos is true" do
12 Factory(:blog, :unindex_categories => true)
13 controller.should_receive(:grouping_class).exactly(2).times.and_return(Category)
14 controller.send(:set_noindex).should be_true
15# gem install syntax to get syntax highlighting
./spec/controllers/grouping_controller_spec.rb:17:in `block (3 levels) in'
15 end
16 it "page params not blank and unindex_tags and unindex_categories are set to false" do
17 Factory(:blog, :unindex_categories => false, :unindex_tags => false)
18 controller.should_receive(:grouping_class).exactly(2).times.and_return(Category)
19 controller.send(:set_noindex, 1).should be_true
20# gem install syntax to get syntax highlighting
./spec/controllers/grouping_controller_spec.rb:24:in `block (3 levels) in'
22 describe "should not set meta robots to noindex follow when" do
23 it "tag controller and unindex_tags options is false and page params nil" do
24 Factory(:blog, :unindex_tags => false)
25 controller.should_receive(:grouping_class).exactly(2).times.and_return(Tag)
26 controller.send(:set_noindex).should be_false
27# gem install syntax to get syntax highlighting
./spec/controllers/grouping_controller_spec.rb:29:in `block (3 levels) in'
27 end
28 it "categoriy controller and unindex_categories options is false and page params nil" do
29 Factory(:blog, :unindex_categories => false)
30 controller.should_receive(:grouping_class).exactly(2).times.and_return(Category)
31 controller.send(:set_noindex).should be_false
32# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/application_helper_spec.rb:5:in `block (2 levels) in'
3
4describe ApplicationHelper do
5 before(:each) { @blog = Factory(:blog) }
6 describe '#render_flash' do
7 it 'should render empty string if no flash' do
8# gem install syntax to get syntax highlighting
./spec/helpers/sidebar_helper_spec.rb:13:in `block (2 levels) in'
11describe SidebarHelper do
12 before do
13 @blog = Factory(:blog)
14 end
15
16# gem install syntax to get syntax highlighting
./spec/helpers/sidebar_helper_spec.rb:13:in `block (2 levels) in'
11describe SidebarHelper do
12 before do
13 @blog = Factory(:blog)
14 end
15
16# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:53:in `block (2 levels) in'
51describe "The first blog" do
52 before(:each) {
53 @blog = Factory.create :blog
54 }
55
56# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:63:in `block (2 levels) in'
61describe "The default blog" do
62 it "should pick up updates after a cache clear" do
63 Factory(:blog)
64 b = Blog.default
65 b.blog_name = "some other name"
66# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:79:in `block (2 levels) in'
77 it "should be valid after filling the title" do
78 @blog.blog_name = "something not empty"
79 @blog.should be_valid
80 end
81
82# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:84:in `block (2 levels) in'
82 it "should be valid without filling the title" do
83 @blog.blog_name.should == "My Shiny Weblog!"
84 @blog.should be_valid
85 end
86
87# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:114:in `block (3 levels) in'
112 it "should be valid with only #{permalink_type}" do
113 set_permalink permalink_type
114 @blog.should be_valid
115 end
116 end
117# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:114:in `block (3 levels) in'
112 it "should be valid with only #{permalink_type}" do
113 set_permalink permalink_type
114 @blog.should be_valid
115 end
116 end
117# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:114:in `block (3 levels) in'
112 it "should be valid with only #{permalink_type}" do
113 set_permalink permalink_type
114 @blog.should be_valid
115 end
116 end
117# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:114:in `block (3 levels) in'
112 it "should be valid with only #{permalink_type}" do
113 set_permalink permalink_type
114 @blog.should be_valid
115 end
116 end
117# gem install syntax to get syntax highlighting
./spec/models/blog_spec.rb:114:in `block (3 levels) in'
112 it "should be valid with only #{permalink_type}" do
113 set_permalink permalink_type
114 @blog.should be_valid
115 end
116 end
117# gem install syntax to get syntax highlighting
./spec/models/content_state/feedback_states_spec.rb:5:in `block (2 levels) in'
3describe 'FeedbackStates from Test::Unit' do
4 before(:each) do
5 Factory(:blog)
6 @comment = Factory(:article).comments.build(:author => 'Piers',
7 :body => 'Body')
8# gem install syntax to get syntax highlighting
./spec/models/content_state/feedback_states_spec.rb:5:in `block (2 levels) in'
3describe 'FeedbackStates from Test::Unit' do
4 before(:each) do
5 Factory(:blog)
6 @comment = Factory(:article).comments.build(:author => 'Piers',
7 :body => 'Body')
8# gem install syntax to get syntax highlighting
./spec/models/content_state/feedback_states_spec.rb:5:in `block (2 levels) in'
3describe 'FeedbackStates from Test::Unit' do
4 before(:each) do
5 Factory(:blog)
6 @comment = Factory(:article).comments.build(:author => 'Piers',
7 :body => 'Body')
8# gem install syntax to get syntax highlighting
./spec/models/content_state/feedback_states_spec.rb:5:in `block (2 levels) in'
3describe 'FeedbackStates from Test::Unit' do
4 before(:each) do
5 Factory(:blog)
6 @comment = Factory(:article).comments.build(:author => 'Piers',
7 :body => 'Body')
8# gem install syntax to get syntax highlighting
./spec/models/ping_pinger_spec.rb:5:in `block (2 levels) in'
3describe 'Ping::Pinger with Test::Unit' do
4 before do
5 Factory(:blog)
6 # avoid mocking constructor until we need it for something
7 @pinger = Ping::Pinger.allocate
8# gem install syntax to get syntax highlighting
./spec/models/ping_pinger_spec.rb:5:in `block (2 levels) in'
3describe 'Ping::Pinger with Test::Unit' do
4 before do
5 Factory(:blog)
6 # avoid mocking constructor until we need it for something
7 @pinger = Ping::Pinger.allocate
8# gem install syntax to get syntax highlighting
./spec/models/ping_pinger_spec.rb:5:in `block (2 levels) in'
3describe 'Ping::Pinger with Test::Unit' do
4 before do
5 Factory(:blog)
6 # avoid mocking constructor until we need it for something
7 @pinger = Ping::Pinger.allocate
8# gem install syntax to get syntax highlighting
./spec/models/article_closing_spec.rb:9:in `block (2 levels) in'
7
8 before(:each) do
9 @blog = Factory(:blog,
10 :sp_article_auto_close => 0,
11 :default_allow_comments => true)
12# gem install syntax to get syntax highlighting
./spec/models/article_closing_spec.rb:9:in `block (2 levels) in'
7
8 before(:each) do
9 @blog = Factory(:blog,
10 :sp_article_auto_close => 0,
11 :default_allow_comments => true)
12# gem install syntax to get syntax highlighting
./spec/models/article_closing_spec.rb:9:in `block (2 levels) in'
7
8 before(:each) do
9 @blog = Factory(:blog,
10 :sp_article_auto_close => 0,
11 :default_allow_comments => true)
12# gem install syntax to get syntax highlighting
./spec/models/article_closing_spec.rb:9:in `block (2 levels) in'
7
8 before(:each) do
9 @blog = Factory(:blog,
10 :sp_article_auto_close => 0,
11 :default_allow_comments => true)
12# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/text_filter_spec.rb:7:in `block (2 levels) in'
5 attr_reader :blog, :whiteboard
6 before(:each) do
7 @blog = Factory(:blog)
8 @filters = TextFilter.available_filters
9 @whiteboard = Hash.new
10# gem install syntax to get syntax highlighting
./spec/models/category_spec.rb:19:in `block (2 levels) in'
17describe "Category" do
18 it "should know published_articles" do
19 Factory(:blog)
20 c = Factory(:category, :permalink => 'Ubbercool')
21 Factory(:article, :categories => [c])
22# gem install syntax to get syntax highlighting
./spec/models/category_spec.rb:28:in `block (2 levels) in'
26
27 it "empty permalink should be converted" do
28 Factory(:blog)
29 c = Category.create(:name => "test 1")
30 c.permalink.should == "test-1"
31# gem install syntax to get syntax highlighting
./spec/models/category_spec.rb:34:in `block (2 levels) in'
32
33 it "category with permalink should not have permalink generated" do
34 Factory(:blog)
35 c = Category.create(:name => "Test 2", :permalink => "yeah-nice-one")
36 c.permalink.should == "yeah-nice-one"
37# gem install syntax to get syntax highlighting
./spec/models/category_spec.rb:43:in `block (3 levels) in'
41describe Category do
42 describe "permalink" do
43 before(:each) { Factory(:blog) }
44 subject { Factory(:category, :permalink => 'software').permalink_url }
45 it { should == 'http://myblog.net/category/software' }
46# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/tag_spec.rb:5:in `block (2 levels) in'
3describe Tag do
4 before(:each) do
5 Factory(:blog)
6 end
7 it 'we can Tag.get by name' do
8# gem install syntax to get syntax highlighting
./spec/models/sidebar_spec.rb:18:in `block (3 levels) in'
16 it "returns only the sidebar with active position" do
17 sidebars = Sidebar.find_all_visible
18 sidebars.size.should == 1
19 sidebars.first.class.should == AmazonSidebar
20 end
21# gem install syntax to get syntax highlighting
./spec/models/user_spec.rb:45:in `block (3 levels) in'
43
44 it 'The various article finders work appropriately' do
45 Factory(:blog)
46 tobi = Factory(:user)
47 7.times do
48# gem install syntax to get syntax highlighting
./spec/models/user_spec.rb:219:in `block (3 levels) in'
217
218 describe '#permalink_url' do
219 before(:each) { Factory(:blog, :base_url => 'http://myblog.net/') }
220 subject { Factory.build(:user, :login => 'alice').permalink_url }
221 it { should == 'http://myblog.net/author/alice' }
222# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:14:in `block (2 levels) in'
12describe "Testing redirects" do
13 it "a new published page gets a redirect" do
14 Factory(:blog)
15 a = Page.create(:title => "Some title", :body => "some text", :published => true)
16 a.should be_valid
17# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:22:in `block (2 levels) in'
20
21 it "a new unpublished page should not get a redirect" do
22 Factory(:blog)
23 a = Page.create(:title => "Some title", :body => "some text", :published => true)
24 a = Page.create(:title => "Another title", :body => "some text", :published => false)
25# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:29:in `block (2 levels) in'
27
28 it "Changin a published article permalink url should only change the to redirection" do
29 Factory(:blog)
30 a = Page.create(:title => "Third title", :body => "some text", :published => true)
31 a.should be_valid
32# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:46:in `block (2 levels) in'
44describe 'Given the fixture :first_page' do
45 before(:each) do
46 Factory(:blog)
47 @page = Factory(:page)
48 end
49# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:46:in `block (2 levels) in'
44describe 'Given the fixture :first_page' do
45 before(:each) do
46 Factory(:blog)
47 @page = Factory(:page)
48 end
49# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:46:in `block (2 levels) in'
44describe 'Given the fixture :first_page' do
45 before(:each) do
46 Factory(:blog)
47 @page = Factory(:page)
48 end
49# gem install syntax to get syntax highlighting
./spec/models/page_spec.rb:123:in `block (2 levels) in'
121describe 'Given a valid page' do
122 it 'default filter should be fetched from the blog' do
123 Factory(:blog)
124 @page = Page.new()
125 @page.default_text_filter.name.should == Blog.default.text_filter
126# gem install syntax to get syntax highlighting
./spec/models/post_type_spec.rb:6:in `block (2 levels) in'
4describe PostType do
5 before(:each) do
6 Factory(:blog)
7 end
8
9# gem install syntax to get syntax highlighting
./spec/models/post_type_spec.rb:6:in `block (2 levels) in'
4describe PostType do
5 before(:each) do
6 Factory(:blog)
7 end
8
9# gem install syntax to get syntax highlighting
./spec/models/post_type_spec.rb:6:in `block (2 levels) in'
4describe PostType do
5 before(:each) do
6 Factory(:blog)
7 end
8
9# gem install syntax to get syntax highlighting
./spec/models/post_type_spec.rb:6:in `block (2 levels) in'
4describe PostType do
5 before(:each) do
6 Factory(:blog)
7 end
8
9# gem install syntax to get syntax highlighting
(eval):2:in `assert_equal' ./spec/models/article_spec.rb:256:in `block (2 levels) in'
0# Couldn't get snippet for (eval)
1# gem install syntax to get syntax highlighting
./spec/models/article_spec.rb:427:in `block (4 levels) in'
425
426 it 'should be empty' do
427 @articles.should be_empty
428 end
429 end
430# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:230:in `block (2 levels) in'
228
229 it 'should have good default filter' do
230 Factory(:blog, :comment_text_filter => Factory(:markdown))
231 a = Factory.build(:comment)
232 assert_equal 'markdown', a.default_text_filter.name
233# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:17:in `block (3 levels) in'
15 describe '#permalink_url' do
16 before(:each) do
17 Factory(:blog)
18 @c = Factory(:comment, :article => Factory(:article,
19 :permalink => 'inactive-article',
20# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:32:in `block (3 levels) in'
30 describe '#edit_url' do
31 it 'should get a url where edit comment in admin' do
32 Factory(:blog)
33 c = Factory(:comment)
34 assert_equal "http://myblog.net/admin/comments/edit/#{c.id}", c.edit_url
35# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:40:in `block (3 levels) in'
38 describe '#delete_url' do
39 it 'should get the delete url of comment in admin part' do
40 Factory(:blog)
41 c = Factory(:comment)
42 assert_equal "http://myblog.net/admin/comments/destroy/#{c.id}", c.delete_url
43# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:47:in `block (3 levels) in'
45
46 describe '#save' do
47 before(:each) { Factory(:blog, :sp_article_auto_close => 300) }
48 it 'should save good comment' do
49 c = Factory.build(:comment, :url => "http://www.google.de", :article => published_article)
50# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:47:in `block (3 levels) in'
45
46 describe '#save' do
47 before(:each) { Factory(:blog, :sp_article_auto_close => 300) }
48 it 'should save good comment' do
49 c = Factory.build(:comment, :url => "http://www.google.de", :article => published_article)
50# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:47:in `block (3 levels) in'
45
46 describe '#save' do
47 before(:each) { Factory(:blog, :sp_article_auto_close => 300) }
48 it 'should save good comment' do
49 c = Factory.build(:comment, :url => "http://www.google.de", :article => published_article)
50# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:47:in `block (3 levels) in'
45
46 describe '#save' do
47 before(:each) { Factory(:blog, :sp_article_auto_close => 300) }
48 it 'should save good comment' do
49 c = Factory.build(:comment, :url => "http://www.google.de", :article => published_article)
50# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:47:in `block (3 levels) in'
45
46 describe '#save' do
47 before(:each) { Factory(:blog, :sp_article_auto_close => 300) }
48 it 'should save good comment' do
49 c = Factory.build(:comment, :url => "http://www.google.de", :article => published_article)
50# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:47:in `block (3 levels) in'
45
46 describe '#save' do
47 before(:each) { Factory(:blog, :sp_article_auto_close => 300) }
48 it 'should save good comment' do
49 c = Factory.build(:comment, :url => "http://www.google.de", :article => published_article)
50# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:95:in `block (3 levels) in'
93 describe '#create' do
94 before do
95 Factory(:blog)
96 end
97
98# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:95:in `block (3 levels) in'
93 describe '#create' do
94 before do
95 Factory(:blog)
96 end
97
98# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:95:in `block (3 levels) in'
93 describe '#create' do
94 before do
95 Factory(:blog)
96 end
97
98# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:95:in `block (3 levels) in'
93 describe '#create' do
94 before do
95 Factory(:blog)
96 end
97
98# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:125:in `block (3 levels) in'
123 describe '#spam?' do
124 before(:each) do
125 Factory(:blog)
126 end
127
128# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:125:in `block (3 levels) in'
123 describe '#spam?' do
124 before(:each) do
125 Factory(:blog)
126 end
127
128# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:125:in `block (3 levels) in'
123 describe '#spam?' do
124 before(:each) do
125 Factory(:blog)
126 end
127
128# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:166:in `block (3 levels) in'
164 describe 'reject xss' do
165 before(:each) do
166 Factory(:blog)
167 @comment = Comment.new do |c|
168 c.body = "Test foo "
169# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:166:in `block (3 levels) in'
164 describe 'reject xss' do
165 before(:each) do
166 Factory(:blog)
167 @comment = Comment.new do |c|
168 c.body = "Test foo "
169# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:166:in `block (3 levels) in'
164 describe 'reject xss' do
165 before(:each) do
166 Factory(:blog)
167 @comment = Comment.new do |c|
168 c.body = "Test foo "
169# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:166:in `block (3 levels) in'
164 describe 'reject xss' do
165 before(:each) do
166 Factory(:blog)
167 @comment = Comment.new do |c|
168 c.body = "Test foo "
169# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:166:in `block (3 levels) in'
164 describe 'reject xss' do
165 before(:each) do
166 Factory(:blog)
167 @comment = Comment.new do |c|
168 c.body = "Test foo "
169# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:187:in `block (3 levels) in'
185 describe 'change state' do
186 before(:each) do
187 Factory(:blog)
188 end
189
190# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:187:in `block (3 levels) in'
185 describe 'change state' do
186 before(:each) do
187 Factory(:blog)
188 end
189
190# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:187:in `block (3 levels) in'
185 describe 'change state' do
186 before(:each) do
187 Factory(:blog)
188 end
189
190# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:237:in `block (3 levels) in'
235 describe 'with feedback moderation enabled' do
236 before(:each) do
237 @blog = Factory(:blog,
238 :sp_global => false,
239 :default_moderate_comments => true)
240# gem install syntax to get syntax highlighting
./spec/models/comment_spec.rb:237:in `block (3 levels) in'
235 describe 'with feedback moderation enabled' do
236 before(:each) do
237 @blog = Factory(:blog,
238 :sp_global => false,
239 :default_moderate_comments => true)
240# gem install syntax to get syntax highlighting
./spec/models/trackback_spec.rb:6:in `block (2 levels) in'
4 before(:each) do
5 IPSocket.stub!(:getaddress).and_return { raise SocketError.new("getaddrinfo: Name or service not known") }
6 Factory(:blog)
7 @blog = Blog.default
8 @blog.sp_global = true
9# gem install syntax to get syntax highlighting
./spec/models/trackback_spec.rb:6:in `block (2 levels) in'
4 before(:each) do
5 IPSocket.stub!(:getaddress).and_return { raise SocketError.new("getaddrinfo: Name or service not known") }
6 Factory(:blog)
7 @blog = Blog.default
8 @blog.sp_global = true
9# gem install syntax to get syntax highlighting
./spec/models/trackback_spec.rb:6:in `block (2 levels) in'
4 before(:each) do
5 IPSocket.stub!(:getaddress).and_return { raise SocketError.new("getaddrinfo: Name or service not known") }
6 Factory(:blog)
7 @blog = Blog.default
8 @blog.sp_global = true
9# gem install syntax to get syntax highlighting
./spec/models/trackback_spec.rb:6:in `block (2 levels) in'
4 before(:each) do
5 IPSocket.stub!(:getaddress).and_return { raise SocketError.new("getaddrinfo: Name or service not known") }
6 Factory(:blog)
7 @blog = Blog.default
8 @blog.sp_global = true
9# gem install syntax to get syntax highlighting
./spec/models/trackback_spec.rb:6:in `block (2 levels) in'
4 before(:each) do
5 IPSocket.stub!(:getaddress).and_return { raise SocketError.new("getaddrinfo: Name or service not known") }
6 Factory(:blog)
7 @blog = Blog.default
8 @blog.sp_global = true
9# gem install syntax to get syntax highlighting
./spec/models/theme_spec.rb:12:in `block (2 levels) in'
10describe 'Given the default theme' do
11 before(:each) do
12 Factory(:blog)
13 @theme = Blog.default.current_theme
14 end
15# gem install syntax to get syntax highlighting
./spec/models/theme_spec.rb:12:in `block (2 levels) in'
10describe 'Given the default theme' do
11 before(:each) do
12 Factory(:blog)
13 @theme = Blog.default.current_theme
14 end
15# gem install syntax to get syntax highlighting
./spec/models/theme_spec.rb:12:in `block (2 levels) in'
10describe 'Given the default theme' do
11 before(:each) do
12 Factory(:blog)
13 @theme = Blog.default.current_theme
14 end
15# gem install syntax to get syntax highlighting
./spec/models/theme_spec.rb:12:in `block (2 levels) in'
10describe 'Given the default theme' do
11 before(:each) do
12 Factory(:blog)
13 @theme = Blog.default.current_theme
14 end
15# gem install syntax to get syntax highlighting
./spec/models/theme_spec.rb:12:in `block (2 levels) in'
10describe 'Given the default theme' do
11 before(:each) do
12 Factory(:blog)
13 @theme = Blog.default.current_theme
14 end
15# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:16:in `block (2 levels) in'
14
15 it 'Pingback sent to url found in referenced header' do
16 Factory(:blog)
17 @mock_response.should_receive(:[]).with('X-Pingback').at_least(:once).and_return(pingback_target)
18 @mock_xmlrpc_response.should_receive(:call).with('pingback.ping', referrer_url, referenced_url)
19# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:23:in `block (2 levels) in'
21
22 it 'Pingback sent to url found in referenced body' do
23 Factory(:blog)
24 @mock_response.should_receive(:[]).with('X-Pingback').at_least(:once).and_return(nil)
25 @mock_response.should_receive(:body).at_least(:once)\
26# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:35:in `block (2 levels) in'
33 ActiveRecord::Base.observers.should include(:web_notifier)
34
35 Factory(:blog, :send_outbound_pings => 1)
36
37 a = Article.new \
38# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:76:in `block (2 levels) in'
74 def trackback_url; "http://anotherblog.org/a-post/trackback"; end
75 before(:each) do
76 Factory(:blog)
77 end
78
79# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:76:in `block (2 levels) in'
74 def trackback_url; "http://anotherblog.org/a-post/trackback"; end
75 before(:each) do
76 Factory(:blog)
77 end
78
79# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:76:in `block (2 levels) in'
74 def trackback_url; "http://anotherblog.org/a-post/trackback"; end
75 before(:each) do
76 Factory(:blog)
77 end
78
79# gem install syntax to get syntax highlighting
./spec/models/ping_spec.rb:150:in `block (2 levels) in'
148describe 'Given a remote site to notify, eg technorati' do
149 it 'we can ping them correctly' do
150 Factory(:blog)
151 mock = mock('response')
152 XMLRPC::Client.should_receive(:new2).with('http://rpc.technorati.com/rpc/ping').and_return(mock)
153# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:5:in `block (2 levels) in'
3describe 'Given a published article' do
4 before(:each) do
5 Factory(:blog)
6 Factory(:article)
7 @article = Article.first
8# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:5:in `block (2 levels) in'
3describe 'Given a published article' do
4 before(:each) do
5 Factory(:blog)
6 Factory(:article)
7 @article = Article.first
8# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:5:in `block (2 levels) in'
3describe 'Given a published article' do
4 before(:each) do
5 Factory(:blog)
6 Factory(:article)
7 @article = Article.first
8# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:5:in `block (2 levels) in'
3describe 'Given a published article' do
4 before(:each) do
5 Factory(:blog)
6 Factory(:article)
7 @article = Article.first
8# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:5:in `block (2 levels) in'
3describe 'Given a published article' do
4 before(:each) do
5 Factory(:blog)
6 Factory(:article)
7 @article = Article.first
8# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:38:in `block (2 levels) in'
36describe "Given an unpublished article" do
37 before(:each) do
38 Factory(:blog)
39 Factory(:article, :published => false, :state => 'draft')
40 @article = Article.first
41# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:38:in `block (2 levels) in'
36describe "Given an unpublished article" do
37 before(:each) do
38 Factory(:blog)
39 Factory(:article, :published => false, :state => 'draft')
40 @article = Article.first
41# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:38:in `block (2 levels) in'
36describe "Given an unpublished article" do
37 before(:each) do
38 Factory(:blog)
39 Factory(:article, :published => false, :state => 'draft')
40 @article = Article.first
41# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:60:in `block (2 levels) in'
58describe "Given an unpublished spammy comment" do
59 before(:each) do
60 Factory(:blog)
61 @comment = Factory(:comment,
62 :published => false,
63# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:60:in `block (2 levels) in'
58describe "Given an unpublished spammy comment" do
59 before(:each) do
60 Factory(:blog)
61 @comment = Factory(:comment,
62 :published => false,
63# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:60:in `block (2 levels) in'
58describe "Given an unpublished spammy comment" do
59 before(:each) do
60 Factory(:blog)
61 @comment = Factory(:comment,
62 :published => false,
63# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:88:in `block (2 levels) in'
86describe "Given a published comment" do
87 before(:each) do
88 Factory(:blog)
89 @comment = Factory(:comment)
90 end
91# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:88:in `block (2 levels) in'
86describe "Given a published comment" do
87 before(:each) do
88 Factory(:blog)
89 @comment = Factory(:comment)
90 end
91# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:88:in `block (2 levels) in'
86describe "Given a published comment" do
87 before(:each) do
88 Factory(:blog)
89 @comment = Factory(:comment)
90 end
91# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:111:in `block (2 levels) in'
109describe "Given an unpublished spammy trackback" do
110 before(:each) do
111 Factory(:blog)
112 @trackback = Factory(:trackback, :published => false,
113 :state => 'presumed_spam', :status_confirmed => false)
114# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:111:in `block (2 levels) in'
109describe "Given an unpublished spammy trackback" do
110 before(:each) do
111 Factory(:blog)
112 @trackback = Factory(:trackback, :published => false,
113 :state => 'presumed_spam', :status_confirmed => false)
114# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:111:in `block (2 levels) in'
109describe "Given an unpublished spammy trackback" do
110 before(:each) do
111 Factory(:blog)
112 @trackback = Factory(:trackback, :published => false,
113 :state => 'presumed_spam', :status_confirmed => false)
114# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:137:in `block (2 levels) in'
135describe "Given a published trackback" do
136 before(:each) do
137 Factory(:blog)
138 @trackback = Factory(:comment)
139 end
140# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:137:in `block (2 levels) in'
135describe "Given a published trackback" do
136 before(:each) do
137 Factory(:blog)
138 @trackback = Factory(:comment)
139 end
140# gem install syntax to get syntax highlighting
./spec/models/cache_support_spec.rb:137:in `block (2 levels) in'
135describe "Given a published trackback" do
136 before(:each) do
137 Factory(:blog)
138 @trackback = Factory(:comment)
139 end
140# gem install syntax to get syntax highlighting
./spec/views/articles/feedback_atom_feed_spec.rb:5:in `block (2 levels) in'
3describe "articles/feedback_atom_feed.atom.builder" do
4 before do
5 Factory(:blog)
6 end
7
8# gem install syntax to get syntax highlighting
./spec/views/articles/feedback_atom_feed_spec.rb:5:in `block (2 levels) in'
3describe "articles/feedback_atom_feed.atom.builder" do
4 before do
5 Factory(:blog)
6 end
7
8# gem install syntax to get syntax highlighting
./spec/views/articles/feedback_atom_feed_spec.rb:5:in `block (2 levels) in'
3describe "articles/feedback_atom_feed.atom.builder" do
4 before do
5 Factory(:blog)
6 end
7
8# gem install syntax to get syntax highlighting
./spec/views/articles/feedback_atom_feed_spec.rb:5:in `block (2 levels) in'
3describe "articles/feedback_atom_feed.atom.builder" do
4 before do
5 Factory(:blog)
6 end
7
8# gem install syntax to get syntax highlighting
./spec/views/articles/feedback_atom_feed_spec.rb:5:in `block (2 levels) in'
3describe "articles/feedback_atom_feed.atom.builder" do
4 before do
5 Factory(:blog)
6 end
7
8# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:12:in `block (5 levels) in'
10 context "normally" do
11 before(:each) do
12 Factory(:blog)
13 2.times {Factory(:article, :body => 'body')}
14 @controller.action_name = "index"
15# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:50:in `block (5 levels) in'
48 context "without search, on page 2" do
49 before(:each) do
50 Factory(:blog)
51 3.times { Factory(:article) }
52 @controller.action_name = "index"
53# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/articles/index_spec.rb:72:in `block (5 levels) in'
70 context "when on page 2 of search" do
71 before(:each) do
72 Factory(:blog)
73 3.times {Factory(:article, :body => 'body')}
74 @controller.action_name = "search"
75# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:5:in `block (2 levels) in'
3shared_examples_for "CommentSanitization" do
4 before do
5 @blog = Factory(:blog)
6 @article = mock_model(Article, :created_at => Time.now, :published_at => Time.now)
7 Article.stub!(:find).and_return(@article)
8# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/comments/html_sanitization_spec.rb:120:in `block (2 levels) in'
118shared_examples_for "CommentSanitizationWithDofollow" do
119 before do
120 @blog = Factory(:blog)
121 @article = Factory(:article, :created_at => Time.now, :published_at => Time.now)
122 Article.stub!(:find).and_return(@article)
123# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:21:in `block (5 levels) in'
19 context "when use_meta_keyword set to true" do
20 before do
21 @blog = Factory(:blog, :use_meta_keyword => true)
22 end
23
24# gem install syntax to get syntax highlighting
./spec/views/layouts/default_spec.rb:32:in `block (5 levels) in'
30 context "when use_meta_keyword set to false" do
31 before do
32 @blog = Factory(:blog, :use_meta_keyword => false)
33 end
34
35# gem install syntax to get syntax highlighting