0
0
Fork 0
rubella/spec/unit/rubella/input/json/data_spec.rb

12 lines
204 B
Ruby

require 'spec_helper'
describe Rubella::Input::JSON, '.data' do
it "returns the stored data" do
input = Rubella::Input::JSON.string "[3, 4, 5]"
expect(input.data).to eq([3, 4, 5])
end
end