spec/lib/flapjack/gateways/web/views/contact.html.erb_spec.rb in flapjack-0.9.6 vs spec/lib/flapjack/gateways/web/views/contact.html.erb_spec.rb in flapjack-1.0.0rc1
- old
+ new
@@ -1,9 +1,11 @@
require 'spec_helper'
describe 'web/views/contact.html.erb', :erb_view => true do
it "should escape unsafe check characters in URI parameters" do
+ @base_url = 'http://www.example.com/flapjack/'
+
@contact = double('contact')
expect(@contact).to receive(:media)
expect(@contact).to receive(:name).and_return('Aeschylus')
expect(@contact).to receive(:notification_rules)