Sha256: 653298e4f9533903483a9c6dac08ccf89f22c43f38ded63d0ce824261000e210

Contents?: true

Size: 261 Bytes

Versions: 9

Compression:

Stored size: 261 Bytes

Contents

class -MockName-Mock < Mock

#  EXAMPLE:
#  def age
#  mock.tagged?(:old) ? 78 : 23
#  end
#
#  def name
#    "Uncle bob"
#  end
#
#  def logged_in?
#    true
#  end
#
#  def sexy?
#    mock.tagged?(:sexy)
#  end
#
#  def car
#    mock.option(:car)
#  end

 end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
neo-rails-0.4.1 lib/generators/mock/templates/mock_template.rb
neo-rails-0.4.0 lib/generators/mock/templates/mock_template.rb
neo-rails-0.3.2 lib/generators/mock/templates/mock_template.rb
neo-rails-0.3.1 lib/generators/mock/templates/mock_template.rb
neo-rails-0.3 lib/generators/mock/templates/mock_template.rb
neo-rails-0.2.3.1 lib/generators/mock/templates/mock_template.rb
neo-rails-0.2.3 lib/generators/mock/templates/mock_template.rb
neo-rails-0.2.2 lib/generators/mock/templates/mock_template.rb
neo-rails-0.2.1 lib/generators/mock/templates/mock_template.rb