spec/factory_spec.rb in fluent-0.2.0 vs spec/factory_spec.rb in fluent-0.3.0

- old
+ new

@@ -37,6 +37,13 @@ active = @factory.on DefinitionTest current = @factory.instance_variable_get '@active' current.should === active end + it 'should create a new definition based on a string' do + @factory.browser.should_receive(:goto) + @factory.on_view "DefinitionTest" do |page| + page.should be_instance_of DefinitionTest + end + end + end \ No newline at end of file