Sha256: f5e946bdb88a5821fe33c8db38cb104e4e290ef4be6b7612d65792ab1b2d6c3c

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 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
    Retter.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

3 entries across 3 versions & 1 rubygems

Version Path
retter-0.1.3 spec/command/open_spec.rb
retter-0.1.2 spec/command/open_spec.rb
retter-0.1.1 spec/command/open_spec.rb