Use #describe with String arg not symbol

See core commit:
http://github.com/opf/openproject/commit/3785fdc9edb187b9e5239879d6f5e41
1a10ae3df
pull/6827/head
Alex Coles 10 years ago
parent f77a3a6505
commit c2e715373e
  1. 2
      spec/models/meeting_spec.rb
  2. 2
      spec/support/plugin_spec_helper.rb

@ -136,7 +136,7 @@ describe Meeting, type: :model do
it { expect(meeting.watchers.collect(&:user)).to match_array([user1, user2]) }
end
describe :close_agenda_and_copy_to_minutes do
describe '#close_agenda_and_copy_to_minutes' do
before do
agenda # creating it

@ -20,7 +20,7 @@
module PluginSpecHelper
shared_examples_for 'customized journal class' do
describe :save do
describe '#save' do
let(:text) { 'Lorem ipsum' }
let(:changed_data) { { text: [nil, text] } }

Loading…
Cancel
Save