diff options
Diffstat (limited to 'spec/support/fixture_file_helper.rb')
| -rw-r--r-- | spec/support/fixture_file_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/fixture_file_helper.rb b/spec/support/fixture_file_helper.rb index 5a9599f..313ee35 100644 --- a/spec/support/fixture_file_helper.rb +++ b/spec/support/fixture_file_helper.rb @@ -5,7 +5,7 @@ module FixtureFileHelper ERB .new(content) - .result(OpenStruct.new(data).send(:binding)) + .result(OpenStruct.new(data).instance_eval { binding }) end def fixture_file(path) |
