├── .gitignore ├── .rspec ├── .ruby-version ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin └── stub ├── features ├── README.md └── developer │ ├── assert-calls.feature │ ├── assert-stdin.feature │ ├── chain-arguments.feature │ ├── change-exitstatus.feature │ ├── provide-env-vars.feature │ ├── step_definitions │ └── general_steps.rb │ ├── stub-commands.feature │ ├── stub-output.feature │ └── support │ ├── simulated_env.rb │ ├── tempfiles.rb │ └── workfolder.rb ├── lib └── rspec │ └── shell │ ├── expectations.rb │ └── expectations │ ├── call_configuration.rb │ ├── call_log.rb │ ├── stubbed_call.rb │ ├── stubbed_command.rb │ ├── stubbed_env.rb │ └── version.rb ├── rspec-shell-expectations.gemspec └── spec ├── assert_called_spec.rb ├── assert_stdin_spec.rb ├── chain_args_spec.rb ├── change_exitstatus_spec.rb ├── provide_env_vars_spec.rb ├── replace_shell_commands_spec.rb ├── stub_output_spec.rb └── stubbed_env_spec.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.1.2 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/bin/stub -------------------------------------------------------------------------------- /features/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/README.md -------------------------------------------------------------------------------- /features/developer/assert-calls.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/assert-calls.feature -------------------------------------------------------------------------------- /features/developer/assert-stdin.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/assert-stdin.feature -------------------------------------------------------------------------------- /features/developer/chain-arguments.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/chain-arguments.feature -------------------------------------------------------------------------------- /features/developer/change-exitstatus.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/change-exitstatus.feature -------------------------------------------------------------------------------- /features/developer/provide-env-vars.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/provide-env-vars.feature -------------------------------------------------------------------------------- /features/developer/step_definitions/general_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/step_definitions/general_steps.rb -------------------------------------------------------------------------------- /features/developer/stub-commands.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/stub-commands.feature -------------------------------------------------------------------------------- /features/developer/stub-output.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/stub-output.feature -------------------------------------------------------------------------------- /features/developer/support/simulated_env.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/support/simulated_env.rb -------------------------------------------------------------------------------- /features/developer/support/tempfiles.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/support/tempfiles.rb -------------------------------------------------------------------------------- /features/developer/support/workfolder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/features/developer/support/workfolder.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations/call_configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations/call_configuration.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations/call_log.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations/call_log.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations/stubbed_call.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations/stubbed_call.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations/stubbed_command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations/stubbed_command.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations/stubbed_env.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations/stubbed_env.rb -------------------------------------------------------------------------------- /lib/rspec/shell/expectations/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/lib/rspec/shell/expectations/version.rb -------------------------------------------------------------------------------- /rspec-shell-expectations.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/rspec-shell-expectations.gemspec -------------------------------------------------------------------------------- /spec/assert_called_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/assert_called_spec.rb -------------------------------------------------------------------------------- /spec/assert_stdin_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/assert_stdin_spec.rb -------------------------------------------------------------------------------- /spec/chain_args_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/chain_args_spec.rb -------------------------------------------------------------------------------- /spec/change_exitstatus_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/change_exitstatus_spec.rb -------------------------------------------------------------------------------- /spec/provide_env_vars_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/provide_env_vars_spec.rb -------------------------------------------------------------------------------- /spec/replace_shell_commands_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/replace_shell_commands_spec.rb -------------------------------------------------------------------------------- /spec/stub_output_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/stub_output_spec.rb -------------------------------------------------------------------------------- /spec/stubbed_env_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthijsgroen/rspec-shell-expectations/HEAD/spec/stubbed_env_spec.rb --------------------------------------------------------------------------------