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