Sha256: 552aa874303434f66c925ecdf0359b0c55238a04beb48a29a6c872497cd289a8
Contents?: true
Size: 399 Bytes
Versions: 6
Compression:
Stored size: 399 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require '<%= bin_name %>/cli' describe <%= module_name %>::CLI, "execute" do before(:each) do @stdout_io = StringIO.new <%= module_name %>::CLI.execute(@stdout_io, []) @stdout_io.rewind @stdout = @stdout_io.read end it "should do something" do @stdout.should_not =~ /To update this executable/ end end
Version data entries
6 entries across 6 versions & 1 rubygems