Sha256: e5de74e78dd98fa6e349f43862e4ac37b31d0396c86186709eae4f0efcef2502
Contents?: true
Size: 683 Bytes
Versions: 5
Compression:
Stored size: 683 Bytes
Contents
require_relative 'spec_helper' describe String do before(:each) do @string = 'Hello, world!' @bowled = 'Hello, world!' end describe "#bowl" do context 'string is bowled' do it 'contains no ruby symbols' do expect(@string.bowl).to eql @bowled end end context 'bowled and unbowled string' do it "is the same string" do expect(@string.bowl.unbowl).to eql @string end end end describe "#carriage" do context 'uncarriaged and carriaged string' do it "is the same string" do expect(@string.uncarriage.carriage).to eql @string end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
qipowl-0.9.7 | spec/string_spec.rb |
qipowl-0.9.3 | spec/string_spec.rb |
qipowl-0.9.2 | spec/string_spec.rb |
qipowl-0.9.1 | spec/string_spec.rb |
qipowl-0.9.0 | spec/string_spec.rb |