Commit d65c67d8e33e26a824a91b6b39912b3b1e4b87ce

Authored by Sergey Nartimov
2 parents 5162dea2 9dd1f5df
Exists in master and in 1 other branch production

Merge pull request #321 from nfedyashev/further_gemfile_drying

DRY a few left dependencies in Gemfile
Gemfile
... ... @@ -4,7 +4,6 @@ gem 'rails', '3.2.8'
4 4 gem 'mongoid', '~> 2.4.10'
5 5 gem 'mongoid_rails_migrations'
6 6 gem 'devise', '~> 1.5.3'
7   -gem 'nokogiri'
8 7 gem 'haml'
9 8 gem 'htmlentities', "~> 4.3.0"
10 9 gem 'rack-ssl', :require => 'rack/ssl' # force SSL
... ... @@ -66,8 +65,6 @@ platform :ruby do
66 65 gem 'bson_ext', '= 1.6.2'
67 66 end
68 67  
69   -gem 'omniauth'
70   -gem 'oa-core'
71 68 gem 'ri_cal'
72 69 gem 'yajl-ruby', :require => "yajl"
73 70  
... ... @@ -88,7 +85,6 @@ end
88 85 group :test do
89 86 gem 'capybara'
90 87 gem 'launchy'
91   - gem 'rspec', '~> 2.6'
92 88 gem 'database_cleaner', '~> 0.6.0'
93 89 gem 'email_spec'
94 90 gem 'timecop'
... ...
Gemfile.lock
... ... @@ -169,7 +169,6 @@ GEM
169 169 net-ssh-gateway (1.1.0)
170 170 net-ssh (>= 1.99.1)
171 171 nokogiri (1.5.5)
172   - oa-core (0.3.2)
173 172 oauth2 (0.8.0)
174 173 faraday (~> 0.8)
175 174 httpauth (~> 0.1)
... ... @@ -348,10 +347,7 @@ DEPENDENCIES
348 347 mongo (= 1.6.2)
349 348 mongoid (~> 2.4.10)
350 349 mongoid_rails_migrations
351   - nokogiri
352   - oa-core
353 350 octokit (~> 1.0.0)
354   - omniauth
355 351 omniauth-github
356 352 oruen_redmine_client
357 353 pivotal-tracker
... ... @@ -361,7 +357,6 @@ DEPENDENCIES
361 357 rails (= 3.2.8)
362 358 rails_autolink (~> 1.0.9)
363 359 ri_cal
364   - rspec (~> 2.6)
365 360 rspec-rails (~> 2.6)
366 361 ruby-debug
367 362 ruby-fogbugz
... ...
spec/interactors/problem_destroy_spec.rb
... ... @@ -7,7 +7,7 @@ describe ProblemDestroy do
7 7  
8 8 context "in unit way" do
9 9 let(:problem) {
10   - problem = Problem.new()
  10 + problem = Problem.new
11 11 problem.stub(:errs).and_return(mock(:criteria, :only => [err_1, err_2]))
12 12 problem.stub(:comments).and_return(mock(:criteria, :only => [comment_1, comment_2]))
13 13 problem.stub(:delete)
... ...
spec/models/issue_trackers/fogbugz_tracker_spec.rb
... ... @@ -9,7 +9,7 @@ describe IssueTrackers::FogbugzTracker do
9 9 number = 123
10 10 @issue_link = "https://#{tracker.account}.fogbugz.com/default.asp?#{number}"
11 11 response = "<response><token>12345</token><case><ixBug>123</ixBug></case></response>"
12   - http_mock = mock()
  12 + http_mock = mock
13 13 http_mock.should_receive(:new).and_return(http_mock)
14 14 http_mock.should_receive(:request).twice.and_return(response)
15 15 Fogbugz.adapter[:http] = http_mock
... ...