There was an error while loading. Please reload this page.
2 parents f8a0ca0 + 886f877 commit e1034f9Copy full SHA for e1034f9
spec/syntax/records_spec.rb
@@ -0,0 +1,10 @@
1
+# encoding: utf-8
2
+require 'spec_helper'
3
+
4
+describe "Record syntax" do
5
+ it "private record symbol" do
6
+ assert_correct_syntax 'elixirSymbol', ':user', <<-EOF
7
+ defrecordp :user, name: "José", age: 25
8
+ EOF
9
+ end
10
+end
0 commit comments