Skip to content

Commit

Permalink
Use stricter logic in the spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jul 19, 2023
1 parent 714b22c commit 9a26d62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/cli/ruby_shell_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def self.const_missing(name)
let(:context) { TestRubyShell::Namespace }

it "must wrap the Module in an Object" do
expect(subject.context).to be_kind_of(Object)
expect(subject.context.class).to be_a(Class)
expect(subject.context).to be_a(Object)
expect(subject.context).to be_kind_of(context)
end

Expand Down

0 comments on commit 9a26d62

Please sign in to comment.