require 'ostruct' require File.expand_path('../fixtures/classes', __FILE__) require File.expand_path('../shared/inspect', __FILE__) describe "OpenStruct#to_s" do it_behaves_like :ostruct_inspect, :to_s end