Skip to content

Commit

Permalink
fix specs (uninitialized constant INotify)
Browse files Browse the repository at this point in the history
INotify stub was setup before requiring rb-inotify happened.
  • Loading branch information
Cezary Baginski committed Apr 25, 2014
1 parent 194dfe0 commit 7540453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/listen/adapter/linux_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# workaround: Celluloid ignores SystemExit exception messages
describe "inotify limit message" do
let(:adapter) { described_class.new(listener) }
let!(:adapter) { described_class.new(listener) }
let(:expected_message) { described_class.const_get('INOTIFY_LIMIT_MESSAGE') }

before do
Expand Down

1 comment on commit 7540453

@thibaudgg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.