Sha256: e24d770b7fc76444d9e4f4cc8c623098c78f35940b9d4727cad1526edbabd723

Contents?: true

Size: 263 Bytes

Versions: 2

Compression:

Stored size: 263 Bytes

Contents

require 'test_helper'

class WidgetTest < ActiveSupport::TestCase
  def new_widget
    Widget.new :name => "test widget"
  end

  test "Widget creation" do
    assert new_widget.save, "expected a new widget to be valid"
    assert_equal 1, Widget.count
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
af-0.3.13.beta.5 spec/assets/tests/rails3/hello_vcap/test/unit/widget_test.rb
vmc-0.3.13.beta.1 spec/assets/rails3/test/unit/widget_test.rb