Sha256: 819d9d5ef2aec82dc4e71a3d45dd2c5351918be09eb62d7c834fe2ff23364a35
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
#spec/wordify_djungst_spec require 'spec_helper' describe WordifyDjungst do subject { WordifyDjungst } describe 'manipulte strings' do let(:str) { 'My String' } it 'reverses a string' do expect(subject.reversify(str)).to eq('gnirtS yM') end it 'add spaces' do expect(subject.spacify(str, 1)).to eq('M y S t r i n g') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wordify_djungst-1.1.0 | spec/wordify_djungst_spec.rb |
wordify_djungst-1.0.0 | spec/wordify_djungst_spec.rb |