We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3c92b9 commit 4e690d7Copy full SHA for 4e690d7
2 files changed
test/fixtures/spaces.yml
@@ -6,7 +6,9 @@ plants:
6
astro:
7
title: TeSS Space Community
8
host: space.mytess.training
9
+ user: curator
10
11
other:
12
title: Other TeSS Community
13
host: other.mytess.training
14
test/models/space_test.rb
@@ -46,7 +46,7 @@ class SpaceTest < ActiveSupport::TestCase
46
test 'disabled_features rejects invalid features' do
47
@space.disabled_features = ['invalid_feature', 'events']
48
assert_not @space.valid?
49
- assert_includes @space.errors[:disabled_features], :inclusion
+ assert @space.errors.added?(:disabled_features, :inclusion)
50
end
51
52
test 'disabled_features allows empty strings' do
0 commit comments