spec/mocha_links_spec.rb in konacha-3.5.1 vs spec/mocha_links_spec.rb in konacha-3.6.0
- old
+ new
@@ -12,15 +12,15 @@
describe 'suite link' do
subject{ page.find_link('A test suite') }
it 'should contain spec path and grep string' do
- subject['href'].should == "#{page.current_url}#{spec_file}?grep=#{URI.encode(suite_name)}"
+ subject['href'].should == "#{page.current_url}#{spec_file}/?grep=#{URI.encode(suite_name)}"
end
end
describe 'replay link (arrow icon)' do
- subject{ page.find(%Q{a[href="#{page.current_url}#{spec_file}?grep=#{URI.encode([suite_name, test_name].join(' '))}"]}) }
+ subject{ page.find(%Q{a[href="#{page.current_url}#{spec_file}/?grep=#{URI.encode([suite_name, test_name].join(' '))}"]}) }
it 'should contain spec path and grep string' do
subject.should_not be_nil
end
end