spec/models/user_validation_spec.rb in volt-0.9.1 vs spec/models/user_validation_spec.rb in volt-0.9.2

- old
+ new

@@ -1,10 +1,9 @@ require 'spec_helper' - describe Volt::UserValidatorHelpers do - context "with user" do + context 'with user' do before do allow(Volt).to receive(:current_user_id) { 294 } end it 'should assign user_id when owning by a user' do @@ -19,6 +18,6 @@ todo._user_id = 500 expect(todo._user_id).to eq(294) end end -end \ No newline at end of file +end