Fix: VCR fixtures mismatches making it need test.key for credentials
This commit is contained in:
@@ -3,11 +3,6 @@ require "test_helper"
|
||||
class Command::Ai::ParserTest < ActionDispatch::IntegrationTest
|
||||
include CommandTestHelper, VcrTestHelper
|
||||
|
||||
test "the parsed command contains the raw line" do
|
||||
result = parse_command "assign @kevin"
|
||||
assert_equal "assign @kevin", result.line
|
||||
end
|
||||
|
||||
test "parse command strings into a composite command containing the individual commands" do
|
||||
result = parse_command "assign @kevin and close"
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ class Command::Ai::TranslatorTest < ActionDispatch::IntegrationTest
|
||||
assert_command({ commands: [ "/insight what's the issue here?" ] }, "what's the issue here?", context: :card)
|
||||
end
|
||||
|
||||
test "filter by collection" do
|
||||
test "filter by collections" do
|
||||
assert_command({ context: { collection_ids: [ "writebook" ] } }, "writebook collection")
|
||||
end
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ require "test_helper"
|
||||
|
||||
# The parser is tested through the tests of specific commands. See +Command::AssignTests+, etc.
|
||||
class Command::ParserTest < ActionDispatch::IntegrationTest
|
||||
include CommandTestHelper
|
||||
include CommandTestHelper, VcrTestHelper
|
||||
|
||||
test "the parsed command contains the raw line" do
|
||||
result = parse_command "assign @kevin"
|
||||
|
||||
Reference in New Issue
Block a user