Skip to content

Commit

Permalink
make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 14, 2016
1 parent bd6c12e commit f40232e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Expand Up @@ -11,8 +11,4 @@ script:
- rake check:pot
- rubocop
- COVERAGE=1 rake test:unit
- make -f Makefile.cvs
- make
- sudo make install
- make check

- sudo rake install
5 changes: 2 additions & 3 deletions test/inst_disks_activate_test.rb
Expand Up @@ -5,11 +5,11 @@
# stub class from packager module
module Yast
def self.stub_module(name)
eval "class #{name}; def self.fake_method;end;end"
class_eval "class #{name}; def self.fake_method;end;end"
end
end

#stub classes from other modules to speed up a build
# stub classes from other modules to speed up a build
Yast.stub_module("Packages")
Yast.stub_module("InstURL")
Yast.stub_module("Language")
Expand All @@ -18,7 +18,6 @@ def self.stub_module(name)

require "installation/clients/inst_disks_activate"


describe Yast::InstDisksActivateClient do
describe "#main" do
let(:probed_disks) { [] }
Expand Down

0 comments on commit f40232e

Please sign in to comment.