Permalink
Browse files

stay with 1.8 style hashes so that tests can run outside 1.9

  • Loading branch information...
1 parent d655406 commit b978d6ae098726f426db431d912ad693f8dd1254 @mjankowski mjankowski committed Sep 4, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/helpers/page_title_helper_spec.rb
@@ -6,7 +6,7 @@
it { should == "Dummy" }
end
describe "#page_title with site name" do
- subject { helper.page_title(app_name: 'Test') }
+ subject { helper.page_title(:app_name => 'Test') }
it { should == "Test" }
end
describe "#page_title with content for page title" do
@@ -16,12 +16,12 @@
end
describe "#page_title with content for page title and alternate separator" do
before { helper.content_for(:page_title, 'page title') }
- subject { helper.page_title(separator: ' | ') }
+ subject { helper.page_title(:separator => ' | ') }
it { should == "Dummy | page title" }
end
describe "#page_title with content for alternate symbol" do
before { helper.content_for(:alt_page_title, 'page title') }
- subject { helper.page_title(page_title_symbol: :alt_page_title) }
+ subject { helper.page_title(:page_title_symbol => :alt_page_title) }
it { should == "Dummy : page title" }
end
end

0 comments on commit b978d6a

Please sign in to comment.