spec/sites/aoj_spec.rb in clicoder-0.0.5 vs spec/sites/aoj_spec.rb in clicoder-0.0.6

- old
+ new

@@ -55,20 +55,20 @@ } Config.stub(:global).and_return(config) end it 'returns true' do - expect(aoj.submit).to be_true + expect(aoj.submit).to be true end end context 'when config is absent' do before do Config.stub(:global).and_return({}) end it 'returns false' do - expect(aoj.submit).to be_false + expect(aoj.submit).to be false end end end end end