Skip to content

Commit

Permalink
taking out assumptions about containers
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Jan 25, 2024
1 parent a3c54fd commit 7c8dee0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ jobs:
- name: Run linter for Ruby
run: bundle exec standardrb
- name: Run tests
shell: bash
run: set -o pipefail && bundle exec rspec
run: bundle exec rspec
2 changes: 1 addition & 1 deletion exe/aim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift("/app/lib")
$LOAD_PATH.unshift(File.absolute_path(File.join(__dir__, "..", "lib")))

require "bundler/setup"
require "aim"
Expand Down
2 changes: 1 addition & 1 deletion spec/aim/integrations/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
RSpec.describe "CLI" do
it "shows only the commands related to the app name" do
with_modified_env APP_NAME: "hathifiles" do
output = `aim help`
output = `exe/aim help`
expect(output).to include("hathifiles")
expect(output).not_to include("sms")
end
Expand Down

0 comments on commit 7c8dee0

Please sign in to comment.