Sha256: 97f6a30f9c619ef1a90f042cebc2a120f260b77d2fd518de86284b337039efdb

Contents?: true

Size: 447 Bytes

Versions: 17

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

describe Stackster do

  it "should list the stack entries" do
    config_mock = mock 'config mock'
    entry_lister_mock = mock 'entry lister mock'
    Stackster::EntryLister.should_receive(:new).
                           and_return entry_lister_mock
    entry_lister_mock.should_receive(:all)
                         
    stack_lister = Stackster::StackLister.new :config => config_mock
    stack_lister.all
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
stackster-0.4.4 spec/stack/stack_lister_spec.rb
stackster-0.4.3 spec/stack/stack_lister_spec.rb
stackster-0.4.2 spec/stack/stack_lister_spec.rb
stackster-0.4.1 spec/stack/stack_lister_spec.rb
stackster-0.4.0 spec/stack/stack_lister_spec.rb
stackster-0.3.2 spec/stack/stack_lister_spec.rb
stackster-0.3.1 spec/stack/stack_lister_spec.rb
stackster-0.3.0 spec/stack/stack_lister_spec.rb
stackster-0.2.9 spec/stack/stack_lister_spec.rb
stackster-0.2.8 spec/stack/stack_lister_spec.rb
stackster-0.2.7 spec/stack/stack_lister_spec.rb
stackster-0.2.6 spec/stack/stack_lister_spec.rb
stackster-0.2.5 spec/stack/stack_lister_spec.rb
stackster-0.2.4 spec/stack/stack_lister_spec.rb
stackster-0.2.3 spec/stack/stack_lister_spec.rb
stackster-0.2.2 spec/stack/stack_lister_spec.rb
stackster-0.2.1 spec/stack/stack_lister_spec.rb