Sha256: 595f7ba8478e87660781acc1cc327e6426de532df8897745c606d63942bc74ee

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

require 'spec_helper'

describe Bower do

  describe '.install' do
    it 'invokes install on the environment' do
      Bower.environment.should_receive(:install).and_return
      Bower.install
    end
  end

  describe '.update' do
    it 'invokes update on the environment' do
      Bower.environment.should_receive(:update).and_return
      Bower.update
    end
  end

  describe '.environment' do
    it 'returns a Bower::Environment' do
      Bower.environment.should be_a(Bower::Environment)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bower-0.0.2 spec/bower_spec.rb
bower-0.0.1 spec/bower_spec.rb