Fixes specs for compatibility w/ 3.0.0.pre9

pull/6827/head
Martin Czuchra 11 years ago
parent bafcfbe7c1
commit 49198d5ef9
  1. 2
      lib/open_project/meeting/engine.rb
  2. 2
      spec/models/meeting_spec.rb

@ -54,7 +54,7 @@ module OpenProject::Meeting
version spec.version
url 'https://www.openproject.org/projects/plugin-meetings'
requires_openproject ">= 3.0.0pre5"
requires_openproject ">= 3.0.0pre9"
project_module :meetings do
permission :create_meetings, {:meetings => [:new, :create, :copy]}, :require => :member

@ -48,7 +48,7 @@ describe Meeting do
describe "Journalized Objects" do
before(:each) do
@project ||= FactoryGirl.create(:project_with_trackers)
@project ||= FactoryGirl.create(:project_with_types)
@current = FactoryGirl.create(:user, :login => "user1", :mail => "user1@users.com")
User.stub!(:current).and_return(@current)
end

Loading…
Cancel
Save