We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9f9c44 commit 0a15959Copy full SHA for 0a15959
examples/mocha.coffee
@@ -0,0 +1,12 @@
1
+# Mocha
2
+{ expect } = require('chai')
3
+
4
+describe 'Test', ->
5
+ hello = 'world'
6
+ lorem = 'ipsum'
7
8
+ it 'should have correct value for hello', ->
9
+ expect(hello).to.eql 'world'
10
11
+ it 'should have correct value for lorem', ->
12
+ expect(lorem).to.eql 'ipsum'
examples/rspec.rb
+# RSpec
+describe 'Test' do
+ it 'should have correct value for hello' do
+ expect(hello).to eql 'world'
+ end
+ it 'should have correct value for lorem' do
+ expect(lorem).to eql 'ipsum'
+end
0 commit comments