begin require File.dirname(__FILE__) + '/../../../../spec/spec_helper' rescue LoadError puts "Plugin wymaga zainstalowania rspec'a w aplikacji." exit end ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:") load(File.join(File.dirname(__FILE__), "schema.rb")) Object.send(:remove_const, :Page) if defined?(Page) Spec::Runner.configure do |config| end