Skip to content

Commit a697c9c

Browse files
committed
Add spec that tests default command
1 parent 2c0192f commit a697c9c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spec/integration/rails_spec.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def console(&)
3838
end
3939

4040
it "logs in successfully" do
41-
shell = "docker exec -it #{@docker_id} bash"
4241
console do
4342
it.puts "#{BINARY_NAME} login"
4443
it.expect "Email: "
@@ -59,6 +58,13 @@ def console(&)
5958
end
6059
end
6160

61+
it "runs default task with no arguments" do
62+
console do
63+
it.puts "#{BINARY_NAME}"
64+
expect(it.expect("Commands:")).to include("Commands:")
65+
end
66+
end
67+
6268
private
6369

6470
def wait_for_server_in_container(timeout:)

0 commit comments

Comments
 (0)