spec/spec_helper.rb in webidl-0.0.6 vs spec/spec_helper.rb in webidl-0.0.7

- old
+ new

@@ -1,12 +1,11 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require "rubygems" require 'webidl' -require 'spec' -require 'spec/autorun' +require 'rspec' require "pp" # require "ruby-debug" # Debugger.start # Debugger.settings[:autoeval] = true @@ -34,10 +33,10 @@ def fixture(name) File.read("#{File.dirname(__FILE__)}/fixtures/#{name}") end end -Spec::Runner.configure do |c| +RSpec.configure do |c| c.include(ParseHelper) c.before(:each) do @parser = WebIDL::Parser::IDLParser.new end end \ No newline at end of file