Sha256: 8ef5beaea11b4be891fa3293bd8d03f552ad6bf66bf2abbf0e8454681da1019e

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

# coding: utf-8

require 'spec_helper'
require 'launchy'

describe 'Retter::Command#open', clean: :all do
  specify 'should be open application' do
    Launchy.should_receive(:open).with(generated_file('index.html').to_path)

    invoke_command :open
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
retter-0.2.5 spec/command/open_spec.rb
retter-0.2.4 spec/command/open_spec.rb
retter-0.2.3 spec/command/open_spec.rb