#200: updated specs
This commit is contained in:
parent
48bd345573
commit
8d3d3c36f9
1
Gemfile
1
Gemfile
|
@ -95,6 +95,5 @@ group :test do
|
|||
gem 'rr', '~> 1.0.4'
|
||||
gem 'shoulda'
|
||||
gem 'mock_redis', '0.6.2'
|
||||
gem 'test_after_commit', '0.2.0'
|
||||
gem 'rake'
|
||||
end
|
||||
|
|
|
@ -363,7 +363,6 @@ GEM
|
|||
state_machine (1.1.2)
|
||||
stringex (1.4.0)
|
||||
systemu (2.5.2)
|
||||
test_after_commit (0.2.0)
|
||||
therubyracer (0.10.2)
|
||||
libv8 (~> 3.3.10)
|
||||
thin (1.5.1)
|
||||
|
@ -467,7 +466,6 @@ DEPENDENCIES
|
|||
shotgun
|
||||
shoulda
|
||||
state_machine
|
||||
test_after_commit (= 0.2.0)
|
||||
therubyracer (~> 0.10.2)
|
||||
therubyrhino (~> 1.73.1)
|
||||
trinidad (~> 1.0.2)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Modules::Observers::ActivityFeed::Comment do
|
||||
self.use_transactional_fixtures = false
|
||||
before { stub_symlink_methods }
|
||||
|
||||
it 'sends a notification email after create a issue comment' do
|
||||
|
@ -11,4 +12,5 @@ describe Modules::Observers::ActivityFeed::Comment do
|
|||
comment.save
|
||||
end
|
||||
|
||||
before(:all) { User.destroy_all }
|
||||
end
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Modules::Observers::ActivityFeed::Issue do
|
||||
self.use_transactional_fixtures = false
|
||||
before { stub_symlink_methods }
|
||||
|
||||
it 'sends a notification email after create' do
|
||||
|
@ -27,4 +28,5 @@ describe Modules::Observers::ActivityFeed::Issue do
|
|||
issue.save
|
||||
end
|
||||
|
||||
before(:all) { User.destroy_all }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue