Sha256: 67cc885024f38724cf27d26277c32a5578cd950cc0c00506afbef33545d7badd

Contents?: true

Size: 462 Bytes

Versions: 5

Compression:

Stored size: 462 Bytes

Contents

require 'spec_helper'

describe Restfulie::Client::Mikyung::Concatenator do

  it "should use the content if there are no extra args" do
    Restfulie::Client::Mikyung::Concatenator.new("alive").content.should == "alive"
  end
  
  it "should concatenate at the end if there is some extra content" do
    Restfulie::Client::Mikyung::Concatenator.new("alive", Restfulie::Client::Mikyung::Concatenator.new("should")).content.should == "alive should"
  end
  
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
restfulie-nosqlite-1.0.4 spec/unit/client/mikyung/concatenator_spec.rb
restfulie-1.1.1 spec/unit/client/mikyung/concatenator_spec.rb
restfulie-1.1.0 spec/unit/client/mikyung/concatenator_spec.rb
restfulie-nosqlite-1.0.3 spec/unit/client/mikyung/concatenator_spec.rb
restfulie-1.0.3 spec/unit/client/mikyung/concatenator_spec.rb