Skip to content

Commit

Permalink
Adds test for the case described in Codaisseur#5
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter de Vos committed Oct 23, 2014
1 parent 0f30c3a commit eaea432
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/terminal-notifier-guard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,10 @@
TerminalNotifier::Guard.pending('ZOMG')
end
end

describe ".list" do
it "should not fail without an argument" do
TerminalNotifier::Guard.list.class.should == Array
end
end
end

0 comments on commit eaea432

Please sign in to comment.