Skip to content

Commit eda4f60

Browse files
committed
Fix tests
NoMethodError: undefined method `file_fixture'
1 parent a0559b2 commit eda4f60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

kubernetes/spec/helpers/file_fixtures.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ def file_fixture(fixture_name)
3131
end
3232
end
3333

34-
extend FileFixtures
34+
Object.include FileFixtures
3535
end
3636
end

kubernetes/spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
# load the gem
1414
require 'kubernetes'
15+
require 'helpers/file_fixtures'
1516

1617
# The following was generated by the `rspec --init` command. Conventionally, all
1718
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.

0 commit comments

Comments
 (0)