diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2008-02-10 18:45:24 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2008-02-10 18:45:24 +0100 |
commit | d9f431c62b681ec5a3641142b83c2cbb6ba2daed (patch) | |
tree | 105ed4090bad62d2bc323b00ce0bcb10e873c1e6 /test | |
parent | 1378e5819affacecbc1291d1e676fd8d5efeafc2 (diff) | |
download | bacon-d9f431c62b681ec5a3641142b83c2cbb6ba2daed.tar.gz bacon-d9f431c62b681ec5a3641142b83c2cbb6ba2daed.tar.xz bacon-d9f431c62b681ec5a3641142b83c2cbb6ba2daed.zip |
Reformats
darcs-hash:20080210174524-4fc50-5753e3f7ff4fcb391864d2b427cab1db4169a61c.gz
Diffstat (limited to 'test')
-rw-r--r-- | test/spec_bacon.rb | 10 | ||||
-rw-r--r-- | test/spec_should.rb | 1 |
2 files changed, 5 insertions, 6 deletions
diff --git a/test/spec_bacon.rb b/test/spec_bacon.rb index cfbd151..03bdfd6 100644 --- a/test/spec_bacon.rb +++ b/test/spec_bacon.rb @@ -316,23 +316,23 @@ describe 'describe arguments' do end it 'should work with string' do - check(describe( 'string') {},'string') + check(describe('string') {},'string') end it 'should work with symbols' do - check(describe( :behaviour) {},'behaviour') + check(describe(:behaviour) {},'behaviour') end it 'should work with modules' do - check(describe( Bacon) {},'Bacon') + check(describe(Bacon) {},'Bacon') end it 'should work with namespaced modules' do - check(describe( Bacon::Context) {},'Bacon::Context') + check(describe(Bacon::Context) {},'Bacon::Context') end it 'should work with multiple arguments' do - check(describe( Bacon::Context, :empty) {},'Bacon::Context empty') + check(describe(Bacon::Context, :empty) {},'Bacon::Context empty') end end diff --git a/test/spec_should.rb b/test/spec_should.rb index c31e8c7..30cf36a 100644 --- a/test/spec_should.rb +++ b/test/spec_should.rb @@ -19,7 +19,6 @@ describe "#should shortcut for #it('should')" do should.satisfy {1==1} end - count = Bacon::Counter[:specifications] should "add new specifications" do # XXX this should +=1 but it's +=2 |