no more rspec warnings

pull/51/head
Philipp Tessenow 12 years ago
parent ad87d65d6c
commit afb19d0974
  1. 2
      lib/plugins/gravatar/Rakefile
  2. 2
      spec/controllers/projects_controller_spec.rb
  3. 2
      spec/controllers/wiki_controller_spec.rb
  4. 1
      spec/spec_helper.rb
  5. 2
      spec/support/matchers/have_exactly_one_selected_menu_item_in.rb
  6. 2
      spec/support/matchers/have_no_selected_menu_item_in.rb

@ -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
end
describe 'show' do
integrate_views
render_views
describe 'without wiki' do
before do

@ -161,7 +161,7 @@ describe WikiController do
end
describe 'view related stuff' do
integrate_views
render_views
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
end
end

@ -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
end

@ -1,4 +1,4 @@
Spec::Matchers.define :have_no_selected_menu_item_in do |menu|
RSpec::Matchers.define :have_no_selected_menu_item_in do |menu|
match do |actual|
failure_message(menu, actual) == nil
end

Loading…
Cancel
Save