mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 09:40:13 +01:00
28 lines
409 B
Ruby
28 lines
409 B
Ruby
|
|
require File.dirname(__FILE__) + '/spec_helper'
|
||
|
|
|
||
|
|
class BddFramework
|
||
|
|
def intuitive?
|
||
|
|
true
|
||
|
|
end
|
||
|
|
|
||
|
|
def adopted_quickly?
|
||
|
|
true
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
describe "BDD framework" do
|
||
|
|
|
||
|
|
before(:each) do
|
||
|
|
@bdd_framework = BddFramework.new
|
||
|
|
end
|
||
|
|
|
||
|
|
it "should be adopted quickly" do
|
||
|
|
@bdd_framework.should be_adopted_quickly
|
||
|
|
end
|
||
|
|
|
||
|
|
it "should be intuitive" do
|
||
|
|
@bdd_framework.should be_intuitive
|
||
|
|
end
|
||
|
|
|
||
|
|
end
|