Sha256: ee1c2857075a95f5d67f80641b31c66922c6e755b65e48f8ad731e172563671a

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

# coding: utf-8

require File.dirname(__FILE__) + '/../spec_helper'

describe 'Retter::Command#open', clean: :all do
  let(:command) { Retter::Command.new }
  let(:wip_file) { retter_config.wip_file }

  before do
    command.stub!(:config) { retter_config }
  end

  it 'should be open application' do
    Launchy.should_receive(:open).with(retter_config.index_file.to_s)
    command.open
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
retter-0.1.0 spec/command/open_spec.rb
retter-0.0.4 spec/command/open_spec.rb
retter-0.0.3 spec/command/open_spec.rb
retter-0.0.2 spec/command/open_spec.rb