Skip to content

Commit

Permalink
fix namespacing
Browse files Browse the repository at this point in the history
  • Loading branch information
markburns committed Mar 8, 2024
1 parent ace8c56 commit 13ae12c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/integration/if_integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

context "with an interactified symbol to proc" do
before do
require "./spec/fixtures/integration_app/app/interactors/if_with_interactified_lambda_clause"
require "./spec/fixtures/integration_app/app/interactors/a/b/if_with_interactified_lambda_clause"
end

it "successfully runs" do
Expand All @@ -32,8 +32,8 @@
end

context "with alternative method syntax" do
let(:truthy_result) { If::AlternativeMethodSyntaxOrganizer.call!(blah: true) }
let(:falsey_result) { If::AlternativeMethodSyntaxOrganizer.call!(blah: false) }
let(:truthy_result) { If::Organizer::AlternativeMethodSyntaxOrganizer.call!(blah: true) }
let(:falsey_result) { If::Organizer::AlternativeMethodSyntaxOrganizer.call!(blah: false) }

it "runs the relevant clauses" do
expect(truthy_result.a).to eq("a")
Expand All @@ -51,8 +51,8 @@
end

context "with hash syntax" do
let(:truthy_result) { If::HashSyntaxOrganizer.call!(blah: true) }
let(:falsey_result) { If::HashSyntaxOrganizer.call!(blah: false) }
let(:truthy_result) { If::Organizer::HashSyntaxOrganizer.call!(blah: true) }
let(:falsey_result) { If::Organizer::HashSyntaxOrganizer.call!(blah: false) }

it "runs the relevant clauses" do
expect(truthy_result.a).to eq("a")
Expand Down

0 comments on commit 13ae12c

Please sign in to comment.