Skip to content

Commit

Permalink
Rubocop fixes after enabling rspec cops.
Browse files Browse the repository at this point in the history
Some tweaks at the request of rubocop
  • Loading branch information
chrisfarms committed Dec 14, 2017
1 parent f0d7a64 commit 5a33a5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/spring.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
.rbenv-vars
tmp/restart.txt
tmp/caching-dev.txt
).each {|path| Spring.watch(path) }
).each { |path| Spring.watch(path) }
2 changes: 1 addition & 1 deletion spec/fakes/cf/fake_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def create_org(**args)
end

def delete_org(guid)
orgs.reject! {|org| org.guid == guid }
orgs.reject! { |org| org.guid == guid }
end
end
end
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "rails_helper"
require "capybara/rails"

RSpec.describe "listing orgs" do
RSpec.describe OrgsController do
include Rack::Test::Methods

let(:client) { Rails.configuration.cf_client.new }
Expand Down

0 comments on commit 5a33a5b

Please sign in to comment.