Browse files

fix spec

  • Loading branch information...
1 parent 87a5b20 commit e64c6cd62483c1b52efaff57a779fbca1988d297 @jugyo committed Nov 21, 2009
Showing with 0 additions and 15 deletions.
  1. +0 −15 spec/g_spec.rb
View
15 spec/g_spec.rb
@@ -2,21 +2,6 @@
require 'g'
describe 'g' do
- it 'calls with a arg' do
- Kernel::GROWL.should_receive(:notify).with("Kernel.g", $0, 'foo'.pretty_inspect)
- g 'foo'
- end
-
- it 'calls with args' do
- Kernel::GROWL.should_receive(:notify).twice
- g 'foo', 'bar'
- end
-
- it 'calls without args' do
- Kernel::GROWL.should_receive(:notify).with("Kernel.g", $0, nil.pretty_inspect)
- g
- end
-
it 'should return original args' do
g('foo').should == 'foo'
g('foo', 'bar').should == ['foo', 'bar']

0 comments on commit e64c6cd

Please sign in to comment.