spec/trema/tremashark_spec.rb in trema-0.4.6 vs spec/trema/tremashark_spec.rb in trema-0.4.7
- old
+ new
@@ -14,18 +14,18 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-require File.join( File.dirname( __FILE__ ), "..", "spec_helper" )
-require "trema/tremashark"
+require File.join(File.dirname(__FILE__), '..', 'spec_helper')
+require 'trema/tremashark'
module Trema
describe Tremashark do
- it "should run tremashark command with proper options" do
+ it 'should run tremashark command with proper options' do
tremashark = Tremashark.new
- tremashark.should_receive( :sh ).once.with( /tremashark \-\-daemonize$/ )
+ tremashark.should_receive(:sh).once.with(/tremashark \-\-daemonize$/)
tremashark.run
end
end
end