Sha256: 8bdb4713eb3b20568b007350341025ac6947291124ed296df27db4bbdebdfa94
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' module Learning class App attr_accessor :gui def initialize @gui = gui_init end end end module TextPlugin module App def gui_init "Peter" end end end module Learning class App include TextPlugin::App end end describe "A Shoes Framework" do it "should include Framework Plugins" do expect(Learning::App.new.gui).to eq("Peter") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.pre7 | spec/shoes/framework_learning_spec.rb |