Skip to content

Commit f57e6f9

Browse files
tonytacupakromer
authored andcommitted
adds test for be_routable matcher description
1 parent 9f1982a commit f57e6f9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/rspec/rails/matchers/be_routable_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
before { @routes = double("routes") }
88

9+
it "provides a description" do
10+
expect(be_routable.description).to eq("be routable")
11+
end
12+
913
context "with should" do
1014
it "passes if routes recognize the path" do
1115
allow(routes).to receive(:recognize_path) { {} }

0 commit comments

Comments
 (0)