Commit 679ce9db authored by Simon Knox's avatar Simon Knox

dev favicon is blue, not purple

parent e15032ed
...@@ -35,7 +35,7 @@ module PageLayoutHelper ...@@ -35,7 +35,7 @@ module PageLayoutHelper
end end
def favicon def favicon
Rails.env.development? ? 'favicon-purple.ico' : 'favicon.ico' Rails.env.development? ? 'favicon-blue.ico' : 'favicon.ico'
end end
def page_image def page_image
......
...@@ -46,9 +46,9 @@ describe PageLayoutHelper do ...@@ -46,9 +46,9 @@ describe PageLayoutHelper do
expect(helper.favicon).to eq 'favicon.ico' expect(helper.favicon).to eq 'favicon.ico'
end end
it 'has purple favicon for development' do it 'has blue favicon for development' do
allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new('development')) allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new('development'))
expect(helper.favicon).to eq 'favicon-purple.ico' expect(helper.favicon).to eq 'favicon-blue.ico'
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment