activeadmin-xls 1.0.5 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +0,0 @@
1
- require 'spec_helper'
2
- include ActiveAdmin
3
-
4
- module ActiveAdmin
5
- module Xls
6
- describe Resource do
7
- let(:resource) { ActiveAdmin.register(Post) }
8
-
9
- let(:custom_builder) do
10
- Builder.new(Post) do
11
- column(:fake) { :fake }
12
- end
13
- end
14
-
15
- context 'when registered' do
16
- it 'each resource has an xls_builder' do
17
- expect(resource.xls_builder).to be_a(Builder)
18
- end
19
-
20
- it 'We can specify our own configured builder' do
21
- expect { resource.xls_builder = custom_builder }.not_to raise_error
22
- end
23
- end
24
- end
25
- end
26
- end