@ -5,7 +5,7 @@ desc 'Default: run all specs'
task :default => :spec
desc 'Run all application-specific specs'
Spec::Rake::SpecTask.new(:spec) do |t|
RSpec::Rake::SpecTask.new(:spec) do |t|
# t.rcov = true
end
@ -17,7 +17,7 @@ describe ProjectsController do
describe 'show' do
integrate_views
render_views
describe 'without wiki' do
before do
@ -161,7 +161,7 @@ describe WikiController do
describe 'view related stuff' do
before :each do
@controller.stub!(:set_localization)
@ -80,7 +80,6 @@ Spork.prefork do
config.order = "random"
config.treat_symbols_as_metadata_keys_with_true_values = true
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
@ -1,4 +1,4 @@
Spec::Matchers.define :have_exactly_one_selected_menu_item_in do |menu|
RSpec::Matchers.define :have_exactly_one_selected_menu_item_in do |menu|
match do |actual|
failure_message(menu, actual) == nil
Spec::Matchers.define :have_no_selected_menu_item_in do |menu|
RSpec::Matchers.define :have_no_selected_menu_item_in do |menu|