Sha256: 78be68e73797d6633639f64de6aee6972e64b4138df7b548e181e2e219130d95

Contents?: true

Size: 472 Bytes

Versions: 11

Compression:

Stored size: 472 Bytes

Contents

require "spec_helper"

describe RakeRoll::Roller do

  let(:roller) { RakeRoll::Roller.new }

  it "Should check the current version" do
    expect(roller.current_version).to eq(RakeRoll::VERSION)
  end

  it "Should accept a new version" do
    expect(roller.new_version).to eq(RakeRoll::VERSION)
    roller.new_version = "3.0.0"
    expect(roller.new_version).to eq("3.0.0")
  end 

  it "Should Roll out the changes" do
    #TODO Mock all those system calls
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rake_roll-0.4.0 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.3.0 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.2.5 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.2.4 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.2.3 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.2.2 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.2.1 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.2.0 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.1.5 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.1.4 spec/lib/rake_roll/roller_spec.rb
rake_roll-0.1.3 spec/lib/rake_roll/roller_spec.rb