spec/pimper_spec.rb in pimpmychangelog-0.1.0 vs spec/pimper_spec.rb in pimpmychangelog-0.1.1
- old
+ new
@@ -37,17 +37,17 @@
better_changelog.split("\n").last.should == "[#123]: https://github.com/gregbell/activeadmin/issues/123"
end
end
context "when the changelog contains a contributor" do
- let(:changelog) { 'New feature by @pcreux' }
+ let(:changelog) { 'New feature by @pc-re_ux' }
it "should wrap the issue number to make a link" do
- better_changelog.should include("[@pcreux][]")
+ better_changelog.should include("[@pc-re_ux][]")
end
it "should append the link definition at the end of the changelog" do
- better_changelog.split("\n").last.should == "[@pcreux]: https://github.com/pcreux"
+ better_changelog.split("\n").last.should == "[@pc-re_ux]: https://github.com/pc-re_ux"
end
end
context "when the changelog contains issue numbers or contributors which are links" do
let(:changelog) { '[@pcreux][] closes [#123][]' }