Skip to content

Instantly share code, notes, and snippets.

@takai
Created January 17, 2016 01:09
Show Gist options
  • Save takai/a81bb909fc89844ec09b to your computer and use it in GitHub Desktop.
Save takai/a81bb909fc89844ec09b to your computer and use it in GitHub Desktop.
RSpec.describe(テスト対象クラス) do
it do
テスト対象 = テスト対象をインスタンス化
テスト対象の状態を設定
expect(テスト対象.メソッド名).to eq("△△")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment