Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 16 lines (14 sloc) 0.407 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
require 'spec_helper'

describe Wombat::Property do
  it 'should store property data' do
    property = Wombat::Property.new(
      name: "title",
      selector: "/some/selector",
      format: :html,
      callback: lambda {})
    
    property.name.should == "title"
    property.selector.should == "/some/selector"
    property.format.should == :html
    property.callback.should == lambda {}
  end
end
Something went wrong with that request. Please try again.