Skip to content

Commit

Permalink
[FIXED] Bower prepare step
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Collins <rcollins@pivotal.io>
  • Loading branch information
xtreme-lisheng-tai authored and Ryan Collins committed Dec 11, 2017
1 parent a1c83bb commit bb11d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/license_finder/package_managers/bower.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def self.package_management_command
'bower'
end

def prepare_command
def self.prepare_command
'bower install'
end

Expand Down
2 changes: 1 addition & 1 deletion spec/lib/license_finder/package_managers/bower_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module LicenseFinder
end

it 'should return the correct prepare command' do
expect(subject.prepare_command).to eq('bower install')
expect(Bower.prepare_command).to eq('bower install')
end
end
end

0 comments on commit bb11d7f

Please sign in to comment.