spec/controllers/dsl_controller_spec.rb in databound-0.1.1 vs spec/controllers/dsl_controller_spec.rb in databound-0.2.1
- old
+ new
@@ -18,11 +18,11 @@
end
it 'responds consistently to js' do
expect(rubize(response)).to eq(
success: true,
- id: 1,
+ id: '1',
scoped_records: all_records,
)
end
it 'creates the record' do
@@ -52,11 +52,11 @@
end
it 'responds consistently to js' do
expect(rubize(response)).to eq(
success: true,
- id: 1,
+ id: '1',
scoped_records: all_records,
)
end
it 'creates the record' do
@@ -111,11 +111,11 @@
end
it 'responds consistently to js' do
expect(rubize(response)).to eq(
success: true,
- id: 1,
+ id: '1',
scoped_records: all_records,
)
end
it 'updates the record' do
@@ -148,10 +148,10 @@
end
it 'responds consistently to js' do
expect(rubize(response)).to eq(
success: true,
- id: 1,
+ id: '1',
scoped_records: all_records,
)
end
it 'updates the record' do