Skip to content

Commit

Permalink
rspec: Fixes deprecated matcher (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwessman authored Jun 3, 2023
1 parent 4ca47c3 commit 0070ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/test_engine/memes_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

describe "#index" do
it "should have the full mounted path of engine" do
Apipie.routes_for_action(TestEngine::MemesController, :index, {}).first[:path].should eq("/test/memes")
expect(Apipie.routes_for_action(TestEngine::MemesController, :index, {}).first[:path]).to eq("/test/memes")
end
end
end

0 comments on commit 0070ce8

Please sign in to comment.